package com.zjtaixue.o2o.service;

import com.zjtaixue.o2o.dto.ShopExecution;
import com.zjtaixue.o2o.entity.Shop;

import java.io.File;
import java.io.InputStream;

public interface ShopService {

    //添加店铺
    ShopExecution addShop(Shop shop, InputStream shopImg,String fileName);

    Shop getByShopId(long shopId);

    ShopExecution modifyShop(Shop shop,InputStream shopImg,String fileName);

    ShopExecution getShopList(Shop shopCondition,int pageIndex,int pageSize);
}
